package com.baizhi.service;

import com.baizhi.entity.Banner;

import java.util.Map;

public interface BannerService {
    //添加轮播图
    public Map insertBanner(Banner banner);
    //删除轮播图，假删
    public Map deleteBannerById(int bannerId);
    //更新轮播图
    public Map updateBanner(Banner banner);

    public Map showAllBanner(int page, int limit);

    public Banner selectOne(int bannerId);

}
